Optimal. Leaf size=102 \[ \frac{3}{10} \left (x^4+5 x^2+3\right )^{3/2} x^4+\frac{1}{480} \left (1837-510 x^2\right ) \left (x^4+5 x^2+3\right )^{3/2}-\frac{1633}{256} \left (2 x^2+5\right ) \sqrt{x^4+5 x^2+3}+\frac{21229}{512} \tanh ^{-1}\left (\frac{2 x^2+5}{2 \sqrt{x^4+5 x^2+3}}\right ) \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.079444, antiderivative size = 102, normalized size of antiderivative = 1., number of steps used = 6, number of rules used = 6, integrand size = 25, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.24, Rules used = {1251, 832, 779, 612, 621, 206} \[ \frac{3}{10} \left (x^4+5 x^2+3\right )^{3/2} x^4+\frac{1}{480} \left (1837-510 x^2\right ) \left (x^4+5 x^2+3\right )^{3/2}-\frac{1633}{256} \left (2 x^2+5\right ) \sqrt{x^4+5 x^2+3}+\frac{21229}{512} \tanh ^{-1}\left (\frac{2 x^2+5}{2 \sqrt{x^4+5 x^2+3}}\right ) \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 1251
Rule 832
Rule 779
Rule 612
Rule 621
Rule 206
Rubi steps
\begin{align*} \int x^5 \left (2+3 x^2\right ) \sqrt{3+5 x^2+x^4} \, dx &=\frac{1}{2} \operatorname{Subst}\left (\int x^2 (2+3 x) \sqrt{3+5 x+x^2} \, dx,x,x^2\right )\\ &=\frac{3}{10} x^4 \left (3+5 x^2+x^4\right )^{3/2}+\frac{1}{10} \operatorname{Subst}\left (\int \left (-18-\frac{85 x}{2}\right ) x \sqrt{3+5 x+x^2} \, dx,x,x^2\right )\\ &=\frac{3}{10} x^4 \left (3+5 x^2+x^4\right )^{3/2}+\frac{1}{480} \left (1837-510 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}-\frac{1633}{64} \operatorname{Subst}\left (\int \sqrt{3+5 x+x^2} \, dx,x,x^2\right )\\ &=-\frac{1633}{256} \left (5+2 x^2\right ) \sqrt{3+5 x^2+x^4}+\frac{3}{10} x^4 \left (3+5 x^2+x^4\right )^{3/2}+\frac{1}{480} \left (1837-510 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+\frac{21229}{512} \operatorname{Subst}\left (\int \frac{1}{\sqrt{3+5 x+x^2}} \, dx,x,x^2\right )\\ &=-\frac{1633}{256} \left (5+2 x^2\right ) \sqrt{3+5 x^2+x^4}+\frac{3}{10} x^4 \left (3+5 x^2+x^4\right )^{3/2}+\frac{1}{480} \left (1837-510 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+\frac{21229}{256} \operatorname{Subst}\left (\int \frac{1}{4-x^2} \, dx,x,\frac{5+2 x^2}{\sqrt{3+5 x^2+x^4}}\right )\\ &=-\frac{1633}{256} \left (5+2 x^2\right ) \sqrt{3+5 x^2+x^4}+\frac{3}{10} x^4 \left (3+5 x^2+x^4\right )^{3/2}+\frac{1}{480} \left (1837-510 x^2\right ) \left (3+5 x^2+x^4\right )^{3/2}+\frac{21229}{512} \tanh ^{-1}\left (\frac{5+2 x^2}{2 \sqrt{3+5 x^2+x^4}}\right )\\ \end{align*}
Mathematica [A] time = 0.0306944, size = 71, normalized size = 0.7 \[ \frac{2 \sqrt{x^4+5 x^2+3} \left (1152 x^8+1680 x^6-2248 x^4+12250 x^2-78387\right )+318435 \tanh ^{-1}\left (\frac{2 x^2+5}{2 \sqrt{x^4+5 x^2+3}}\right )}{7680} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.023, size = 91, normalized size = 0.9 \begin{align*}{\frac{3\,{x}^{4}}{10} \left ({x}^{4}+5\,{x}^{2}+3 \right ) ^{{\frac{3}{2}}}}-{\frac{17\,{x}^{2}}{16} \left ({x}^{4}+5\,{x}^{2}+3 \right ) ^{{\frac{3}{2}}}}+{\frac{1837}{480} \left ({x}^{4}+5\,{x}^{2}+3 \right ) ^{{\frac{3}{2}}}}-{\frac{3266\,{x}^{2}+8165}{256}\sqrt{{x}^{4}+5\,{x}^{2}+3}}+{\frac{21229}{512}\ln \left ({\frac{5}{2}}+{x}^{2}+\sqrt{{x}^{4}+5\,{x}^{2}+3} \right ) } \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [A] time = 0.982898, size = 140, normalized size = 1.37 \begin{align*} \frac{3}{10} \,{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{4} - \frac{17}{16} \,{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} x^{2} - \frac{1633}{128} \, \sqrt{x^{4} + 5 \, x^{2} + 3} x^{2} + \frac{1837}{480} \,{\left (x^{4} + 5 \, x^{2} + 3\right )}^{\frac{3}{2}} - \frac{8165}{256} \, \sqrt{x^{4} + 5 \, x^{2} + 3} + \frac{21229}{512} \, \log \left (2 \, x^{2} + 2 \, \sqrt{x^{4} + 5 \, x^{2} + 3} + 5\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.5956, size = 185, normalized size = 1.81 \begin{align*} \frac{1}{3840} \,{\left (1152 \, x^{8} + 1680 \, x^{6} - 2248 \, x^{4} + 12250 \, x^{2} - 78387\right )} \sqrt{x^{4} + 5 \, x^{2} + 3} - \frac{21229}{512} \, \log \left (-2 \, x^{2} + 2 \, \sqrt{x^{4} + 5 \, x^{2} + 3} - 5\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F] time = 0., size = 0, normalized size = 0. \begin{align*} \int x^{5} \left (3 x^{2} + 2\right ) \sqrt{x^{4} + 5 x^{2} + 3}\, dx \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 1.11535, size = 90, normalized size = 0.88 \begin{align*} \frac{1}{3840} \, \sqrt{x^{4} + 5 \, x^{2} + 3}{\left (2 \,{\left (4 \,{\left (6 \,{\left (24 \, x^{2} + 35\right )} x^{2} - 281\right )} x^{2} + 6125\right )} x^{2} - 78387\right )} - \frac{21229}{512} \, \log \left (2 \, x^{2} - 2 \, \sqrt{x^{4} + 5 \, x^{2} + 3} + 5\right ) \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]